package com.cn.pack.config;

import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@AutoConfigureBefore(Configuration2.class)
public class Configuration1 {

    @Bean
    public User user() {
        return new User("USER1", 20);
    }
}
